import Http from '../http.js'

/** 手机号码尝试登录 */
export const newWxAuthorUserApi = (data) => new Http({
    url: '/Api/Applets/register',
    method: 'POST',
    data
})

/** 获取用户信息 */
export const getSelfInfoApi = (data) => new Http({
    url: '/Api/User/selfInfo',
    method: 'POST',
    showLoading: true,
    formData: { ...data },
})